$OpenBSD: patch-src_mkhdr,v 1.2 2015/11/28 01:37:59 gsoares Exp $
--- src/mkhdr.orig	Wed Nov 11 12:09:34 2015
+++ src/mkhdr	Tue Nov 24 10:56:24 2015
@@ -30,8 +30,8 @@ LD=9l
 AS=9a
 AR=9ar
 INSTALL=install
-CFLAGS=
-LDFLAGS=
+CFLAGS=${CCFLAGS} -pthread
+LDFLAGS=-pthread
 AFLAGS=
 CLEANFILES=
 NUKEFILES=
